package javaBase.FatherAndSon;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-04-10 19:36
 **/
public class Son extends Father {
    public int a=2;

    public Son() {
        this.a = a;
        System.out.println("儿子a的值是:"+a);
    }



    public int getA(){
        return a;
    }

}
